myChart1 = echarts.init(document.getElementById('mychart1'));

option1 = {
    color: ['#02BAD2','#2F4554'],
    graphic:{
        type: 'text',
        id: 'text1',
        left: '36%',
        top: '60%',
        style: {
            text: '78%',
            fontSize: '45',
            fill: '#FFFFFF'
        }
    },
    series: [
        {
            name:'SW健康度',
            type:'pie',
            radius: ['65%', '70%'],
            startAngle:225,
            label: {
                normal: {
                    show: true,
                    position: 'center',
                    textStyle:{
                        fontSize:25,
                        color: '#FFFFFF'
                    }
                }
            },

            data:[
                {value:78, name:'SW健康度'},
                {value:22, },
                {value:30,
                    itemStyle:{normal:{color:'rgba(0,0,0,0)'}
                    }
                }
            ]
        }
    ]
}
myChart1.setOption(option1);
